home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_ai / close < prev    next >
Text File  |  1994-08-31  |  662b  |  24 lines

  1. close:
  2.  
  3. Syntax:    close ( "filename" )
  4.  
  5. Description:
  6.  
  7.     close() takes a string as input, and attempts to close the
  8.     output stream associated with the string. close() returns TRUE
  9.     (1) if the output stream was successfully closed, FALSE (0) if
  10.     the output stream could not be closed.
  11.  
  12.     If you want to read the contents of a file that you have
  13.     created with the write() function in the present session, then
  14.     be sure to close the file before using the read function.
  15.  
  16.     Example:
  17.  
  18.     write( "eig_output", a , vec , val );
  19.     close( "eig_output" );
  20.     read( "eig_output" );
  21.  
  22. See Also: FILES printf, fprintf, getline, open, read, readb, readm, 
  23.           write, writeb, writem
  24.